package com.mrzhou.rabbit.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * @author qiang.zhou
 */
@Getter
@Setter
public class BaseEsEntity implements Serializable {

    @Id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

}
